# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

# This is an skel-ebuild provided for convenience purposes.
# Use it like a template for what you need.
# You don't need to write extra functions and what not as
# everything is done by thexgames.eclass.
#
# If you try to merge your ebuild but it fails complaining that
# clns_SOURCESROOT couldn't be detected, then it is very likely
# that when the sources are unpacked, the output contains not the
# files but some other stuff like *.exe or another archive (been there).
# In that case you could just implement the src_unpack phase (or
# uncomment the phase below if it suits your needs). xtm and fashion
# use such a logic.
#
# Do not implement ebuild phases unless you know what you are doing.


EAPI=3

inherit thexgames

DESCRIPTION=""
HOMEPAGE=""
SRC_URI=""

LICENSE="as-is"
SLOT="0"
KEYWORDS="amd64 x86"

RDEPEND="games-strategy/x3"
DEPEND="app-arch/p7zip
	${RDEPEND}"

# Only in case you have a problem described at line 10.
# Uncomment it and change those exe's to what suits you better.
# 
# src_unpack()
# {
# 	unpack ${A}
# 	for i in $(ls *.exe | sed 's|\.exe||')
# 	do
# 		mv "${i}".exe "${i}".7z
# 		unpack ./"${i}".7z
# 		rm ./"${i}".7z
# 	done
# }